home *** CD-ROM | disk | FTP | other *** search
- #include "bbs.h"
- extern struct CIA *cia_ptr;
- extern UBYTE serin[];
-
- /*****************************************/
- /* set serial DTR line */
- /* false = DTR off; true = DTR on */
- /*****************************************/
- void DropDTR(void)
- {
- if(SEROUT) {
- if(!CheckIO(ReadSerReq)){
- AbortIO(ReadSerReq);}
- WaitIO(ReadSerReq);
-
-
- CloseSerial(); // this was not resetting SEROUT Mon Jun 8 04:02:50 1992
- Delay(60L);
- if(OpenSerial(Cmds->OpeningBaud,(UBYTE)8,(UBYTE)1)!=0) {
- ShutDown("Can't re-open Serial Device!");
- }
- Delay(12L);
- }
- }
-
-